#!/bin/bash



if [ ! -d /tmp/baism ]
  then
    mkdir /tmp/baism
    echo '创建成功'
fi
echo "存在"

[ ! -d /tmp/baism ] && mkdir /tmp/baism
USER='abc'
if [ $USER == 'root' ]
  then
    echo 'hello root'
else
  echo 'hello guest'
fi


echo "点击Enter按钮进行退出"
read
exit